module.exports = [
	{
		test: /\.css$/,
		use: [
			{
				loader: "style-loader"
			},
			{
				loader: "css-loader"
			},
			{
				loader: "postcss-loader",
				options: {
					sourceMap: true
				}
			}
		]
	},
	{
		test: /\.vue$/,
		loader: "vue-loader"
	},
	{
		test: /\.jsx$/,
		loader: "babel-loader"
	},
	{
		test: /\.(gif|jpg|jpeg|png|svg)$/,
		use: [
				{
					loader: 'url-loader',
					options: {
						limit: 1024,
						name: '[name]-aaa.[ext]'
				    }
				}
			]

	},
	{
		test: /\.styl$/,
		use: [
			'style-loader',
			'css-loader',
			{
				loader: 'postcss-loader',
				options: {
					sourceMap: true
				}
			},
			'stylus-loader'
		]
	}
]